package com.zzyl.nursing.service;

import java.util.List;
import com.zzyl.nursing.domain.Reservation;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.nursing.dto.ReservationDto;

/**
 * 预约信息Service接口
 * 
 * @author ruoyi
 * @date 2025-07-31
 */
public interface IReservationService extends IService<Reservation>
{
    /**
     * 查询预约信息列表
     * 
     * @param reservation 预约信息
     * @return 预约信息集合
     */
    public List<Reservation> selectReservationList(Reservation reservation);

    /**
     * 查询取消预约的数量
     * */
    int getCancelledReservationCount();
    /**
     * 新增预约信息
     * @param reservationDto
     * */
    void insertReservation(ReservationDto reservationDto);
    /**
     * 取消预约信息
     * @param id
     * */
    void cancelReservation(Long id);
}
